export function getUrlKey(name: string) {
    let regExp = new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)');
    let exec = regExp.exec(location.href);
    return decodeURIComponent((exec || ["",""])[1].replace(/\+/g, '%20')) || null;
}